<?php /*a:2:{s:98:"D:\Other\phpstudy_pro\WWW\zhongchuang-yixing\public/themes/admin_simpleboot3/admin\main\index.html";i:1709870135;s:95:"D:\Other\phpstudy_pro\WWW\zhongchuang-yixing\public/themes/admin_simpleboot3/public\header.html";i:1709833882;}*/ ?>


<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- HTML5 shim for IE8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <![endif]-->


    <link href="/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
    <link href="/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
    <link href="/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
        form .input-order {
            margin-bottom: 0px;
            padding: 0 2px;
            width: 42px;
            font-size: 12px;
        }

        form .input-order:focus {
            outline: none;
        }

        .table-actions {
            margin-top: 5px;
            margin-bottom: 5px;
            padding: 0px;
        }

        .table-list {
            margin-bottom: 0px;
        }

        .form-required {
            color: red;
        }
    </style>
    <script type="text/javascript">
        //全局变量
        var GV = {
            ROOT: "/",
            WEB_ROOT: "/",
            JS_ROOT: "static/js/",
            APP: '<?php echo app('request')->module(); ?>'/*当前应用名*/
        };
    </script>
    <script src="/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
    <script src="/themes/admin_simpleboot3/public/assets/layui/layui.js"></script>
    <link  href="/themes/admin_simpleboot3/public/assets/layui/css/layui.css" rel="stylesheet">
    <script src="/static/js/echarts.min.js"></script>

    <script src="/static/js/wind.js"></script>
    <script src="/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
    <script>
        Wind.css('artDialog');
        Wind.css('layer');
        $(function () {
            $("[data-toggle='tooltip']").tooltip({
                container:'body',
                html:true,
            });
            $("li.dropdown").hover(function () {
                $(this).addClass("open");
            }, function () {
                $(this).removeClass("open");
            });
        });
    </script>
    <?php if(APP_DEBUG): ?>
        <style>
            #think_page_trace_open {
                z-index: 9999;
            }
        </style>
    <?php endif; 
    \think\facade\Hook::listen('admin_before_head_end',null,false);
 ?>
</head>
<body>

<style>

    .headbox{
        width: 1000px;height: 200px;display: flex;
        align-items: center;margin-left: 50px;
    }
    .headbox1{
        width: 180px;height: 100px;border-radius: 10px;box-shadow:4px 4px 10px 0px rgba(50, 50, 50, 0.28);
        margin-right: 40px;
    }
    .headbox_t{
        width:  180px;height: 40px;line-height: 40px;text-indent: 10px;font-size: 14px;color: #747474;
    }
    .headbox_b{
        width: 180px;height: 60px;line-height: 60px;text-align: center;font-size: 24px;color: #666666;

    }
</style>

<div class="headbox">

    <div class="headbox1">
        <div class="headbox_t">总用户数</div>
        <div class="headbox_b"> <?php echo $user; ?></div>
    </div>

    <div class="headbox1">
        <div class="headbox_t">总项目</div>
        <div class="headbox_b"> <?php echo $all; ?></div>
    </div>

    <div class="headbox1">
        <div class="headbox_t">总报单</div>
        <div class="headbox_b"> <?php echo $count; ?></div>
    </div>
    <div class="headbox1">
        <div class="headbox_t">团队单</div>
        <div class="headbox_b"> <?php echo $tameorder; ?></div>
    </div>



</div>

<div style="margin-left: 50px">

    <div id="main" style="width: 1000px;height:500px;"></div>

</div>

<script src="/static/js/admin.js"></script>
<?php 
    $lang_set=defined('LANG_SET')?LANG_SET:'';
    $thinkcmf_version=cmf_version();
 
    \think\facade\Hook::listen('admin_before_body_end',null,false);
 ?>

<script>



    var chartDom = document.getElementById('main');
    var myChart = echarts.init(chartDom);
    var option;
    var url="<?php echo url('main/useradd'); ?>";


    $.ajax({
        url:url,
        data:'',
        type:'post',
        dataType:'json',
        success:function (ret){


            option = {
                xAxis: {
                    type: 'category',
                    data: ['7', '6', '5', '4', '3', '2', '1']
                },
                yAxis: {
                    type: 'value'
                },
                title: {
                    text: '近7日用户增'
                },
                series: [
                    {
                        data: ret,
                        type: 'line',
                        smooth: true
                    }
                ]
            };

            option && myChart.setOption(option);
        }
    })



</script>
</body>
</html>